<template>
  <p>动物名称: {{ name }}</p>
</template>

<script>
export default {
    name: 'Name' ,
    props: [ 'name' ]
}
</script>

<style scoped>
p {
  background: #ffff88 ;
}
</style>